@charset "UTF-8";

/* Root Variables for Consistent Styling */
:root {
    --primary-color: #007f5f; /* Rich green */
    --secondary-color: #ffcc00; /* Golden accent */
    --tertiary-color: #1b4332; /* Deep contrast */
    --background-light: #f8f9fa; /* Soft background */
    --background-dark: #081c15; /* Dark contrast */
    --text-color: #ffffff; /* Light text */
    --text-dark: #1b4332; /* Dark text */
    --cta-hover: #ffb700;
    /* Additional greens from old version */
    --lighter_green: rgba(53, 216, 38, 1.00);
    --light_green: rgba(43, 167, 32, 1.00);
    --mid_green: rgba(39, 115, 33, 1.00);
    --dark_green: rgba(35, 91, 31, 1.00);
    --green_white: rgba(172, 190, 165, 1.00);
    --text_color: rgba(50, 50, 50, 1.00);
    --white: rgba(200, 200, 200, 1.0);
    --font_color: rgba(220, 220, 220, 1.0);
}

/* Universal Reset for Clean Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body & General Styles */
body {
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
.navigation {
    background: var(--primary-color);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    height: 60px;
    z-index: 1000;
}

/* Dropdown Menu Fix */
.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--tertiary-color);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 8px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    font-weight: bold;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Logo */
#QB-logo {
    font-size: 2em;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.top-content {
    text-align: center;
    padding: 80px 20px;
    background: var(--primary-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    animation: fadeIn 1.5s ease-in-out;
}

.top-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideInFromTop 1s ease-in-out;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-top: 10px;
    animation: fadeIn 2s ease-in-out;
}

.intro-text {
    max-width: 800px;
    margin: 35px auto;
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.5s ease-in-out forwards 0.5s;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--tertiary-color);
    background-color: var(--secondary-color);
    border-radius: 50px;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: var(--cta-hover);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Image */
.hero-image {
    width: 180px;
    height: auto;
    margin-top: 20px;
    animation: bounceIn 1.5s ease-in-out;
}

/* Middle Content */
.middle-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    column-count: 2;
    column-gap: 3rem;
}

.middle-content h1 {
    column-span: all;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Bottom Section - Redesigned to Match Hero Section */
.bottom-content {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--tertiary-color);
    color: var(--text-color);
    border-radius: 15px;
    margin: 2rem 0;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bottom-content:hover {
    transform: translateY(-5px);
}

.bottom-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.bottom-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

/* Footer */
.foot-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    padding: 10px 20px;
    color: var(--text-color);
    text-align: center;
}

.foot-bar img {
    margin: 0 10px;
}

.foot-bar p {
    margin: 0;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-content h1 { font-size: 2.5rem; }
    .intro-text { font-size: 1rem; }
    .cta-button { font-size: 1.2rem; padding: 12px 25px; }
    .middle-content {
        column-count: 1; /* Change this to single column */
        column-gap: 0;   /* Remove any gap between columns */
    }
}

/* Additional styles from old version */
.title-container {
    font-size: 3em;
    width: 800px;
    margin: 1em auto;
    border: thin solid var(--text_color);
    border-radius: 20px;
    padding: 1em;
    box-shadow: 10px 5px 1px 1px var(--text_color);
    text-align: center;
}

.flyer {
    width: 100%;
    text-align: center;
}

img {
    width: min(600px,95%);
}
